#define _CRT_SECURE_NO_WARNINGS 1
#include"Heap.h"
void test()
{
	Heap h;
	HeapCreate(&h);

	HeapPush(&h, 1);
	HeapPush(&h, 5);
	HeapPush(&h, 7);
	HeapPush(&h, 8);
	HeapPush(&h, 9);
	HeapPush(&h, 10);
	HeapPush(&h, 12);
	HeapPush(&h, 15);
	HeapPush(&h, 19);

	HeapPop(&h);
	HeapPop(&h);
	HeapPop(&h);
	HeapPop(&h);
	HeapPop(&h);
	HeapPop(&h);
	HeapPop(&h);
	HeapPop(&h);
	HeapPop(&h);

	int k = HeapSize(&h);

	k = HeapEmpty(&h);

	HeapDestory(&h);
}
int main()
{
	test();
	return 0;
}